package com.lin.services;

import com.lin.pojo.User;

import java.util.List;
import java.util.Map;

/**
 * ClassName:IStaffService
 * Package:com.lin.services
 * Author: hellcat
 * Date: 2020/1/7
 * ♣♣♣
 */
public interface StaffService {

    List<User> listStaffInfo(String searchName, String searchRoleId);

    List<Map<String, Object>> listRoles();

    Map<String, Object> getUserRoleById(String id);

    Map<String, Object> updateStuff(Map<String, String[]> parameterMap);

    Map<String, Object> deleteStuff(String id);

    Map<String, Object> updateAccountStatus(String id, String status);

    Map<String, Object> insertStaff(Map<String, String[]> parameterMap);
}

